package com.syg.case06;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

@Component
public class ACase06 {

    @Transactional(rollbackFor = Exception.class)
    public void save() {
        System.out.println("save()");
    }
}
